﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace NetBay.Core.BusinessEntities.Workflow
{
    [Serializable]
    [DataContract]
    public class WorkflowStateInfo : IEntity
    {
        [DataMember]
        [Key]
        public Guid KeyId { get; set; }

        [DataMember]
        public Guid ForeignKey1 { get; set; }

        [DataMember]
        public string Label { get; set; }

        [DataMember]
        public string Color { get; set; }

        [DataMember]
        public WorkflowState State { get; set; }

        [DataMember]
        public string Icon { get; set; }

        public WorkflowStateInfo()
        {
            KeyId = Guid.NewGuid();
        }
    }
}